package com.xh.bussiness.longwen.dao;

import com.xh.bussiness.longwen.bean.dto.TeacherPaikeDto;
import com.xh.bussiness.longwen.bean.request.QueryStudentRequest;
import com.xh.bussiness.longwen.bean.request.QueryTeacherPaikeRequest;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/8/30
 */
public interface ApiMapper {

    List<TeacherPaikeDto> queryTeacherPaikeList(@Param("bean") QueryTeacherPaikeRequest bean);

    List<Map<String, Object>> queryArea(@Param("areaType") Integer areaType);

    List<Map<String, Object>> querySchoolByAreaId(@Param("areaId") Integer areaId);

    List<Map<String, Object>> queryTeacher(@Param("schoolId") Integer schoolId, @Param("subjectId")String subjectId);

    List<Map<String, Object>> queryTeacherOneByOneStudents(@Param("bean") QueryTeacherPaikeRequest bean);

    List<Map<String, Object>> queryTeacherXiaoban(@Param("bean") QueryTeacherPaikeRequest bean);

    List<Map<String,Object>> queryStudentByParams(@Param("bean") QueryStudentRequest bean);

    List<Map<String, Object>> queryStudentOneByOneContract(@Param("studentId") String studentId);


}
